{% if repo.recipe == 'docker-group' %}
{
    "action": "coreui_Repository",
    "method": "{{ action }}",
    "data": [{
        "attributes": {
            "docker": {
                "httpPort": {{ repo.httpPort }},
                "forceBasicAuth": false,
                "v1Enabled": false
            },
            "storage": {
                "blobStoreName": "default",
                "strictContentTypeValidation": true
            },
            "group": {
                "memberNames": ["{{ repo.members | join('", "') }}"]
            }
        },
        "name": "docker",
        "format": "",
        "type": "",
        "url": "",
        "online": true,
        "undefined": [true, false],
        "recipe": "docker-group"
    }],
    "type": "rpc",
    "tid": {{ repo_tid }}
}
{% else %}
{
    "action": "coreui_Repository",
    "method": "{{ action }}",
    "data": [{
        "attributes": {
            "storage": {
                "blobStoreName": "default",
                "strictContentTypeValidation": true
            },
            "group": {
                "memberNames": ["{{ repo.members | join('", "') }}"]
            }
        },
        "name": "{{ repo.name }}",
        "format": "",
        "type": "",
        "url": "",
        "online": true,
        "recipe": "{{ repo.recipe }}"
    }],
    "type": "rpc",
    "tid": {{ repo_tid }}
}
{% endif %}
